package cn.leedsoft.and.crimeintent.controller.run_tracker;

import android.content.Context;
import android.location.Location;
import cn.leedsoft.and.crimeintent.manager.run_tracker.RunManager;

/**
 * Created by leeds on 2016/9/6 13:27.
 */
public class TrackingLocationReceiver extends LocationReceiver{
    @Override
    protected void onLocationReceived(Context context, Location loc) {
        super.onLocationReceived(context, loc);
        RunManager.getInstance(context).insertLocation(loc);
    }
}
